package com.ruoyi.business.dto;

import com.ruoyi.business.domain.BusCar;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 内容:
 * 作者: cy
 * 接收前台传入的参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("汽车查询条件对象")
public class CarDto extends BusCar {

    @ApiModelProperty("最小出租价格")
    private BigDecimal minRentprice;
    @ApiModelProperty("最大出租价格")
    private BigDecimal maxRentprice;

    @ApiModelProperty("车辆图片")
    private String carImgs;


}
